package com.qingkai.onlineshop.app

import kotlinx.serialization.Serializable

/**
 *作者：created by 89270 on 2025/6/3 18:41
 *描述：
 */

@Serializable
sealed class Route {
    @Serializable
    data object Splash : Route()

    @Serializable
    data object Dashboard : Route()

    @Serializable
    data class Product(val categoryId: Int, val title: String) : Route()

    @Serializable
    data class Detail(val id: Int) : Route()

    @Serializable
    data object Cart : Route()
}